<template>
  <div>
    <Word1 v-if="(bussType === '6' || bussType === '5') && !!formData"
           :formData="formData"
    />
    <Word2 v-if="bussType === '7' && !!formData"
           :formData="formData"
    />
    <Word3 v-if="bussType === '8' && !!formData"
           :formData="formData"
    />
    <Word4 v-if="bussType === '9' && !!formData"
           :formData="formData"
    />
  </div>
</template>

<script>
import Word1 from '@/views/process/components/steps/company/forms/Word1.vue';
import Word2 from '@/views/process/components/steps/company/forms/Word2.vue';
import Word3 from '@/views/process/components/steps/company/forms/Word3.vue';
import Word4 from '@/views/process/components/steps/company/forms/Word4.vue';
export default {
  name: "CompanyStep1",
  components: {Word1, Word2, Word3, Word4},
  props: {
    formData: {
      type: Object,
    },
    bussType: {
      type: String,
    },
  },
}
</script>

<style lang="scss" scoped>
.step-container {
  margin-top: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  .text {
    width: 100%;
    margin-top: 18px;
    font-size: 14px;
  }
  .check {
    margin-top: 40px;
  }
}
</style>

